package com.tju.resource.business.tb_send_matl;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tju.resource.model.TbSendMatl;
import com.tju.resource.result.Result;

import java.util.Map;

/**
 *
 */
public interface TbSendMatlService extends IService<TbSendMatl> {
    /**
     * 查询发料
     * @param params
     * @return
     */
    Result<Object> selectSendMatl(Map<String, String> params);

    /**
     * 审核发料
     * @param sendMatl
     * @return
     */
    Result<Object> approveSendMatl(TbSendMatl sendMatl);

    /**
     * 判断该生产计划下面的发料是否全审核过
     * @param id
     * @return
     */
    boolean approvePlan(Long id);
}
